package com.zxy.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.zxy.entity.PageResult;
import com.zxy.pojo.TravelGroup;
import com.zxy.pojo.TravelItem;

import java.util.List;

public interface TravelItemService { // ctrl + alt + b去实现类
    void add(TravelItem travelItem);

    PageResult findPage(Integer currentPage, Integer pageSize, String queryString);

    void delete(Integer id);

    TravelItem getById(Integer id);

    void edit(TravelItem travelItem);

    List<TravelItem> findAll();
}
